IPA uses srs#205
Conversation
|
Regarding your points:
I left a suggestion for this in my review.
The aforementioned suggestion should also handle this. The commitment key is a flexible parameter that can contain/point to whatever sort of SRS you like.
I would prefer that we keep the same structure as in honk/pcs/kzg, unless there's a good reason for departing from what's there. I think your point is that we are somehow not obligated to insulate the user from a call to an unsafe Pippenger method? This to me doesn't seem like a good reason to use different interfaces. |
585ac3e to
a1074f2
Compare
Thanks Cody for you timely suggestions which helped me a lot. I have tried my best to adhere to your suggestions. Please let me know if you have any more concerns. |
codygunton
left a comment
There was a problem hiding this comment.
You raised the following issues in our review call:
- You were unsure whether it is secure to use unsafe Pippenger methods here.
- You were concerned that it may be inefficient to use the same Pippenger runtime state for different sets of generators and different MSM lengths.
Will you briefly look into these questions, if you haven't, and make github issues as appropriate?
Thanks. Created the issue #237 for this. |
ipa uses kzg params commit function is reinstated inside ipa commenting out grumpkin srs test as we are not using them now cleanup before review more cleanup using separate ipa params (wip) resolve code duplication and other issues pointed by Cody fixing rebase bug minor cleanup cleanup suggested by Cody
c7d05ee to
78a1b00
Compare
I have addressed all of Cody's suggestions and we decided to merge this PR in our review call.
ipa uses kzg params commit function is reinstated inside ipa commenting out grumpkin srs test as we are not using them now cleanup before review more cleanup using separate ipa params (wip) resolve code duplication and other issues pointed by Cody fixing rebase bug minor cleanup cleanup suggested by Cody
ipa uses kzg params commit function is reinstated inside ipa commenting out grumpkin srs test as we are not using them now cleanup before review more cleanup using separate ipa params (wip) resolve code duplication and other issues pointed by Cody fixing rebase bug minor cleanup cleanup suggested by Cody
Description
This PR enables the IPA scheme to use kzg commitment key. This helps the scheme to use kzg srs elements as the set of generators. It also enables the scheme to use a single
pippenger_runtime_statefor performing all multi-scalar-multiplications. In particular, it resolves the issues #163 , #164.Checklist:
/markdown/specshave been updated.@briefdescribing the intended functionality.